API for filling a chest with random treasures.
